package com.vcit.system.mapper.clazz;

import com.vcit.system.domain.clazz.TClazzRuleMajor;
import java.util.List;

/**
 * 分班规则-专业关联Mapper接口
 *
 * @author dff
 * @date 2025-01-17
 */
public interface TClazzRuleMajorMapper {
    /**
     * 查询分班规则-专业关联
     *
     * @param id 分班规则-专业关联主键
     * @return 分班规则-专业关联
     */
    public TClazzRuleMajor selectTClazzRuleMajorById(Long id);

    /**
     * 查询分班规则-专业关联列表
     *
     * @param tClazzRuleMajor 分班规则-专业关联
     * @return 分班规则-专业关联集合
     */
    public List<TClazzRuleMajor> selectTClazzRuleMajorList(TClazzRuleMajor tClazzRuleMajor);

    /**
     * 新增分班规则-专业关联
     *
     * @param tClazzRuleMajor 分班规则-专业关联
     * @return 结果
     */
    public int insertTClazzRuleMajor(TClazzRuleMajor tClazzRuleMajor);

    /**
     * 修改分班规则-专业关联
     *
     * @param tClazzRuleMajor 分班规则-专业关联
     * @return 结果
     */
    public int updateTClazzRuleMajor(TClazzRuleMajor tClazzRuleMajor);

    /**
     * 删除分班规则-专业关联
     *
     * @param id 分班规则-专业关联主键
     * @return 结果
     */
    public int deleteTClazzRuleMajorById(Long id);

    /**
     * 批量删除分班规则-专业关联
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTClazzRuleMajorByIds(Long[] ids);

    /**
     * 根据规则ID删除分班规则-专业关联
     *
     * @param ruleId 分班规则ID
     * @return 结果
     */
    public int deleteTClazzRuleMajorByRuleId(Long ruleId);
} 